import java.util.Arrays;

public class A7 {

	public static void main(String[] args) {
		int arr[]=new int[]{35,12,50,23,66};
		Arrays.sort(arr);
        System.out.println(arr[arr.length-1]);
	}

}
